feat(fusion): v1 completion — CLI subcommand, evaluator model, confidence-aware difficulty gate - #392
Merged
Merged
Conversation
…nce, confidence-aware difficulty gate 1. sin-code fusion CLI subcommand (issue #290): - fusion status: enabled/disabled, oracle mode, difficulty gate, provider count - fusion config: full config keys + env var overrides (SIN_EVALUATOR_MODEL, etc.) - fusion providers: lists Fireworks pool (model, base URL, max tokens) - Read-only, no side effects. Registered in main.go 2. Oracle judge prefers SIN_EVALUATOR_MODEL (anti-bias): - WireFusion now uses firstNonEmpty(SIN_EVALUATOR_MODEL, cfg.Model) for judge - SIN_EVALUATOR_BASE_URL creates a separate client for the judge - Mirrors the stop-gate pattern at line 334 3. Confidence-aware difficulty gate fully wired: - TournamentRunner interface extended with ShouldRunWithConfidence - Loop passes verifyFailCount as attemptCount - fusionAdapter uses ShouldTournamentWithConfidence when signals available - classifyVerifyError maps verify.Result.Report to ErrorType - Falls back to text-only ShouldTournament when confidence=0 && attemptCount=0 - All mock implementations updated (wiring_test, e2e_test) Tests: fusion ✅, loopbuilder ✅, orchestrator ✅, agentloop ✅ (all -race -count=1)
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🏆 CEO Audit — A+ (100.0/100)
📥 Download full report (Markdown)
|
🏆 CEO Audit — A+ (100.0/100)
📥 Download full report (Markdown) Run ID:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completes SIN Fusion v1 (issue #290, v3.22.0).
1. sin-code fusion CLI subcommand
fusion status: enabled/disabled, oracle mode, difficulty gate, provider countfusion config: full config keys + env var overridesfusion providers: lists Fireworks pool (model, base URL, max tokens)2. Oracle judge prefers SIN_EVALUATOR_MODEL
3. Confidence-aware difficulty gate
Tests
fusion ✅, loopbuilder ✅, orchestrator ✅, agentloop ✅ (all -race -count=1)